var u = navigator.userAgent;
if (u.indexOf('mPaaSClient') > -1) {
    document.write("<script src='https://mztapp.fujian.gov.cn:8190/mztAppWeb/app/js/mPaasHybrid.js'></script>");
} else if (u.indexOf('mzt') > -1) {
    if (u.indexOf('Android') > -1 || u.indexOf('Linux') > -1) {
        document.write("<script src='https://mztapp.fujian.gov.cn:8190/mztAppWeb/app/js/AndroidCordova.js'></script>");
        document.write("<script src='https://mztapp.fujian.gov.cn:8190/mztAppWeb/app/js/AndroidCordovaInit.js'></script>");
    } else if (u.indexOf('iPhone') > -1 || u.indexOf('iPad') > -1) {
        document.write("<script src='https://mztapp.fujian.gov.cn:8190/mztAppWeb/app/js/iOSBridge.js'></script>");
        document.write("<script src='https://mztapp.fujian.gov.cn:8190/mztAppWeb/app/js/iOSBridgeInit.js'></script>");
    }
}